from Deque import deque

def palchecker(aString):
	chardeque = Deque()
	for c in aString:
		chardeque.addRear(ch)

	stillEqual = True
	while chardeque.size() > 1 and stillEqual:
		first = chardeque.removeFront()
		last = chardeque.removeRear()
		if first != last:
			stillEqual = False
	return stillEqual


print(palchecker('lsdkjfskfjkdsl'))
print(palchecker('radar'))